<!-- Standard layout based on CakePHP -->
<!DOCTYPE html>
<html lang="zh-cn">
<head>
	<!-- Charset tag S -->
	<?php echo $this->Html->charset(); ?>
	<!-- Charset tag E -->

	<!-- Meta tag S -->
	<?php
	// HtmlHelper.php
	echo
	$this->Html->meta('compatible', 'IE=edge'),
	$this->Html->meta('viewport', 'width=device-width, initial-scale=1'),
	$this->Html->meta('keywords', isset($keywords) ? $keywords : ''),
	$this->Html->meta('description', isset($description) ? $description : ''),
	$this->Html->meta('author', isset($author) ? $author : '');
	?>
	<!-- Meta tag E -->

	<!-- Icon tag S -->
	<?php echo $this->Html->meta('icon'); ?>
	<!-- Icon tag E -->

	<!-- Title S -->
	<title><?php echo $this->fetch('title'); ?> - <?php echo Configure::read('Application.metaTitle'); ?></title>
	<!-- Title E -->

	<!-- Global Style S -->
	<?php
	echo $this->Html->css([
	'/assets/font-awesome-4.3.0/css/font-awesome.min.css',
	'/assets/bootstrap-3.3.5-dist/css/bootstrap.min',
	'menu.min'
	]);
	?>
	<!-- Global Style E -->

	<!-- Plugin Style S -->
	<?php echo $this->fetch('PluginStyle'); ?>
	<!-- Plugin Style E -->

	<!-- Page Style S -->
	<?php echo $this->Html->css(['default']); ?>
	<!-- Page Style E -->
</head>
<body>
<div id="wrapper" style="margin-top: 25px;">

	<!-- Article S -->
	<article>
		<div id="page-wrapper">
			<?php if ($this->fetch('top')): ?>
			<?php echo $this->fetch('top'); ?>
			<?php endif; ?>

			<?php echo $this->fetch('content'); ?>
		</div>
	</article>
	<!-- Article E -->

	<!-- SQL dump S -->
	<?php echo $this->element('sql_dump'); ?>
	<!-- SQL dump E -->

	<!-- Global Script S -->
	<?php
	echo $this->Html->script([
	'/assets/jquery/js/jquery-1.11.3.min',
	'/assets/bootstrap-3.3.5-dist/js/bootstrap.min',
	'menu.min'
	]);
	?>
	<!-- Global Script S -->

	<!-- Plugin Script S -->
	<?php echo $this->fetch('PluginScript'); ?>
	<!-- Plugin Script E -->

	<!-- Page Script S -->
	<?php if ($this->fetch('PageScript')): ?>
	<?php echo $this->fetch('PageScript'); ?>
	<?php endif; ?>
	<?php echo $this->Html->script('common'); ?>
	<!-- Page Script E -->
</div>
</body>
</html>
